<?php

define('DEV_ENV', 'dev');

/*
  //# afficher tous les erreurs
  error_reporting(E_ALL);
  ini_set('display_errors', '1');
 */


error_reporting(0);
  ini_set('display_errors', '0');
ignore_user_abort(true);
set_time_limit(0);

//# start session by default
session_start();

define('DB_HOST', 'localhost');
define('DB_USER', 'root');
define('DB_PASSWORD', '');
define('DB_NAME', 'bd_essentiel_sup');

mysql_connect(DB_HOST, DB_USER, DB_PASSWORD) or die(mysql_error());
mysql_select_db(DB_NAME) or die(mysql_error());

mysql_query("SET NAMES 'UTF8'");
?>